namespace AvaloniaApplication1.Models;

/// <summary>
/// Power数据模型
/// </summary>
public class PowerRegisterModel
{
    /// <summary>
    /// 电压设置
    /// </summary>
    public int VoltageSetting { get; set; }
    /// <summary>
    /// 电流设置
    /// </summary>
    public int CurrentSetting { get; set; }
    /// <summary>
    /// 输出电压
    /// </summary>
    public int OutputVoltage { get; set; }
    /// <summary>
    /// 输出电流
    /// </summary>
    public int OutputCurrent { get; set; }
    /// <summary>
    /// 输出功率显示值(...)
    /// </summary>
    public int OutputPowerDisplay { get; set; }
    /// <summary>
    /// 输入电压显示值
    /// </summary>
    public int InputVoltageDisplay { get; set; }
    /// <summary>
    /// 输出AH低16位(3)
    /// </summary>
    public int OutputAhLow16Bits { get; set; }
    /// <summary>
    /// 输出AH高16位(4)
    /// </summary>
    public int OutputAhHigh16Bits { get; set; }
    /// <summary>
    /// 输出WH低16位(...)
    /// </summary>
    public int OutputWhLow16Bits { get; set; }
    /// <summary>
    /// 输出WH高16位(5)
    /// </summary>
    public int OutputWhHigh16Bits { get; set; }

    /// <summary>
    /// 输出开关状态
    /// </summary>
    public int OutputSwitchStatus { get; set; } // 输出开关状态
    /// <summary>
    /// 恒流恒压状态
    /// </summary>
    public int ConstantVoltageConstantCurrentState { get; set; } // 恒流恒压状态
    /// <summary>
    /// 保护状态
    /// </summary>
    public int ProtectionStatus { get; set; } // 保护状态
    /// <summary>
    /// 从机地址
    /// </summary>
    public int SlaveAddress { get; set; } // 从机地址
    /// <summary>
    /// 波特率编号
    /// </summary>
    public int BaudRateCode { get; set; } // 波特率编号
    /// <summary>
    /// 快捷调出数据组
    /// </summary>
    public int QuickDebugGroup { get; set; } // 快捷调出数据组
    /// <summary>
    /// 输出开启时长小时
    /// </summary>
    public int OutputEnableHour { get; set; }
    /// <summary>
    /// 输出开启时长分
    /// </summary>
    public int OutputEnableMinute { get; set; } // 输出开启时长分
    /// <summary>
    /// 输出开启时长秒
    /// </summary>
    public int OutputEnableSecond { get; set; } // 输出开启时长秒
    /// <summary>
    /// 内部温度值
    /// </summary>
    public int InternalTemperature { get; set; } // 内部温度值
    /// <summary>
    /// 外部温度值
    /// </summary>
    public int ExternalTemperature { get; set; } // 外部温度值
    /// <summary>
    /// 按键锁
    /// </summary>
    public int KeypadLock { get; set; } // 按键锁
    /// <summary>
    /// 蜂鸣器开关
    /// </summary>
    public int BeeperSwitch { get; set; } // 蜂鸣器开关
    /// <summary>
    /// 温度符号
    /// </summary>
    public int TemperatureSymbol { get; set; } // 温度符号
    /// <summary>
    /// 背光亮度等级
    /// </summary>
    public int BacklightBrightnessLevel { get; set; } // 背光亮度等级
    /// <summary>
    /// 息屏时间
    /// </summary>
    public int ScreenOffTime { get; set; } // 息屏时间
    /// <summary>
    /// 产品型号
    /// </summary>
    public int ProductModel { get; set; } // 产品型号
    /// <summary>
    /// 固件版本号
    /// </summary>
    public int FirmwareVersion { get; set; } // 固件版本号
    /// <summary>
    /// 内部温度修正
    /// </summary>
    public int InternalTemperatureCorrection { get; set; } // 内部温度修正
    /// <summary>
    /// 外部温度修正
    /// </summary>
    public int ExternalTemperatureCorrection { get; set; } // 外部温度修正
}